Pause

What command could I use to stop the execution of a DXL script until a wizard has completed?
I'm attaching my code, and trying to figure out how to make the Wizard boxes appear one at a time, so I don't need to deal with minimizing and restoring windows and such. What code can I use for this task?
Thanks!
josiah820 - Tue Jul 31 09:30:57 EDT 2012

Re: Pause
Mathias Mamsch - Wed Aug 01 12:25:49 EDT 2012

Did you try using block instead of show (note that you need to call 'release' from a callback to unblock the execution of your script). Maybe this helps, regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Pause
llandale - Wed Aug 01 13:50:09 EDT 2012

eval_ code returns to your program when that code "stops", not when it "ends". I presume those included files "show" their dialogs which counts as a "stop"; so we can expect all 3 dialogs to pop up.

If you could edit those files and turn "show" into "block" and adjust the callbacks then they would display sequencially. Barring that, it seems you are stuck with clumsy ack("pause") statements after each such "eval_" statement.

-Louie

Re: Pause
josiah820 - Fri Aug 10 16:14:34 EDT 2012

llandale - Wed Aug 01 13:50:09 EDT 2012
eval_ code returns to your program when that code "stops", not when it "ends". I presume those included files "show" their dialogs which counts as a "stop"; so we can expect all 3 dialogs to pop up.

If you could edit those files and turn "show" into "block" and adjust the callbacks then they would display sequencially. Barring that, it seems you are stuck with clumsy ack("pause") statements after each such "eval_" statement.

-Louie

I figured it out! thanks!